1. JPA w/o application server stackoverflow.comI'm just writing a small java application and I would like to be able to persist the data model in a database. So I was wondering if I could use JPA ... |
2. Hibernate or Application Server JPA? stackoverflow.comI'm using Glassfish in production and OpenEJB in testing. I'm using JPA 1.0. I'm using Hibernate, but no specific Hibernate features, just standard JPA. Hibernate is redundant in this collection and should ... |
3. hibernate with Sun App Server coderanch.com |
4. JPA/Hibernate 3.5.5 and WebSphere Application Server 7 forum.hibernate.org[8/30/10 10:27:39:312 EDT] FFDC Exception:java.lang.NoSuchMethodError SourceId:com.ibm.ws.jpa.management.JPAPxmlInfo.extractPersistenceUnits ProbeId:353 Reporter:com.ibm.ws.jpa.management.JPAPxmlInfo@4fb74fb7 java.lang.NoSuchMethodError: javax/persistence/spi/PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode; at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:621) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) at com.ibm.ws.jpa.management.JPAPUnitInfo.createEMFactory(JPAPUnitInfo.java:1474) at com.ibm.ws.jpa.management.JPAPUnitInfo.createEntityManagerFactory(JPAPUnitInfo.java:1315) at com.ibm.ws.jpa.management.JPAPxmlInfo.extractPersistenceUnits(JPAPxmlInfo.java:393) at com.ibm.ws.jpa.management.JPAScopeInfo.processPersistenceUnit(JPAScopeInfo.java:140) at com.ibm.ws.jpa.management.JPAApplInfo.processModulePUs(JPAApplInfo.java:169) at com.ibm.ws.jpa.management.JPAComponentImpl.startingDeployedModule(JPAComponentImpl.java:878) at com.ibm.ws.jpa.management.JPAComponentImpl.stateChanged(JPAComponentImpl.java:722) ... |
5. running hibernate outside an app server? forum.hibernate.orgCan someone please give me some guidance as to how I can run hibernate outside of an app server? Like in the simplest case where I just want to start up hibernate, pass in an xml mapping file and start testing some domain objects. I don't need all the code, just the startup code because everything I have tried doesn't work ... |
6. Deploying into diff app servers - JCA Usage Examples forum.hibernate.orgHi all, I orginally posted this in the System Integration forum but it doesn't look like that forum gets much traffic so I'm reposting here. I'm working on a project with a requirement that it be deployable to JBoss, Websphere and Weblogic. I've followed the JBoss deployment instructions to deploy into JBoss using a SAR (good instructions). But I beleive that ... |
7. Hibernate logging without an Application Server forum.hibernate.orgThanks for your response. Which classpath root? For hibernate? I have put it in my project's classpath root. The contents of the file are like Greek to me. The example log4j is just as bad. I did however change the line: log4j.logger.net.sf.hibernate=info to log4j.logger.net.sf.hibernate=debug Still nothing is being printed out. Where do I find the output? The full file is below: ... |
8. Hibernate and Application server integration forum.hibernate.orgI'm looking for an example how to use Hibernate with JBoss and Session Beans. When using Enity Beans you don't care about transactions simply throwing an exeption is enough to rollback. Is there something similar available with Hibernate? If not, is there a template how to write your code, a best practice? Is the code using the container for transaction handling ... |
9. how to configure JNDI in an APP server forum.hibernate.orghi, i have finished a web application, where i used struts, hibernate, database is oracle9i , and the application server used is Oracle10g. everything is working fine. now i want to configure the database using JNDI. earlier i edited the Hibernate.properties file for getting the database connection for Oracle database configuration. Now i want to configure the datbase connection using JNDI. ... |
10. Hibernate & Sun ONE Application Server forum.hibernate.orgHi Michael, thank you for trying to help me. I'm running Sun ONE Application Server 7.0 (PE) on SuSE 8.1; j2sdk1.4.1_03. Here's what I did: 1. JAR that contains Hibernate-Objects, *.hbm.xml, hibernate.cfg.xml, hibernat.properties hibernat.properties: Code: ... hibernate.dialect net.sf.hibernate.dialect.OracleDialect hibernate.transaction.factory_class net.sf.hibernate.transaction.JTATransactionFactory hibernate.transaction.manager_lookup_class net.sf.hibernate.transaction.SunONETransactionManagerLookup hibernate.cache.use_query_cache true hibernate.cache.provider_class net.sf.hibernate.cache.HashtableCacheProvider ... 2. Stateless Session EJB (transaction-type = "Container") business method: Code: ... ... |
11. do i need an application server?? forum.hibernate.orgi wonder if i need an application server when i want to use jdo with hibernate in the following situation: i want to share persistent objects (all on one box - no clustering) over the network with different clients/services. the clients/services should be able to read/write on the objects. is there something like a lightwight jdo object broker. or is it ... |
12. Hibernate and Application Servers forum.hibernate.orgI'm just thinking about Hibernate integration into different app servers. For JBoss you can install it as a service, which is nice because you see it at the JMX management console and can change certain values at runtime. These central integrations have certain disadvantages. You are bound to an specific application server (JBoss). You are in trouble if multiple applications from ... |
13. Hibernate & SUN Application Server 8 forum.hibernate.orgHi, I've got an application that uses Hibernate 2.1.6 and runs in Tomcat, using the information in the QuickStart Guide I found online. Excellent how seamless it all works. Together with the XDoclet information, it helped me develop the application and the development process nicely. But now I need to deploy it also on SUN 8 and for some reason I ... |
14. Cannot get Hibernate to work within Sun App Server 8 forum.hibernate.orgI am using Java Studio creator for some dev on my current project, but would like to leverage hibernate for a few things (besides I am already using it in other places). Studio Creator packages Sun App Server 8 as it's internal server for testing. When I use hibernate from within one of it's methods I get a SecurityException related to ... |
15. J2EE Sun Java System Application Server deploying forum.hibernate.orgdistribute: D:\Applications\RuleEngine.ear deployment started : 0% Deploying application in domain failed; Fatal Error from EJB Compiler -- net/sf/hibernate/HibernateException ; requested operation cannot be completed !!! Operation Failed !!! !!! With The Following Failure Messages !!! Deploying application in domain failed; Fatal Error from EJB Compiler -- net/sf/hibernate/HibernateException ; requested operation cannot be completed Fatal Error from EJB Compiler -- ... |
16. Deployment Problem on Sun Java System Application Server forum.hibernate.orgHi all, I have a code using hibernate that is working successfully as a standalone application. When I put that into a web application, and put the test code into a jsp or servlet (the same code in the standalone application), I get exception below. I have tried to initialize SessionFactory in a static block and in a non-static method of ... |
17. Problem with Java sun application server forum.hibernate.orgHi folks, I have the following error when i try to use hibernate with Java Sun Application Server: Possible Source of Error: Class Name: net.sf.hibernate.transaction.TransactionFactoryFactory File Name: TransactionFactoryFactory.java Method Name: buildTransactionFactory Line Number: 34 51: cfg.configure(); 52: else 53: cfg.configure(configFileName); 54: setSessionFactory(configFileName, cfg.buildSessionFactory()); 55: } 56: } 57: Stack Trace: net.sf.hibernate.transaction.TransactionFactoryFactory.buildTransactionFactory(TransactionFactoryFactory.java:34) net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77) net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1172) net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:803) amanda.base._BaseRootDAO.initialize(_BaseRootDAO.java:54) amanda.base._BaseRootDAO.initialize(_BaseRootDAO.java:38) cacharreo.Page1.button1_action(Page1.java:131) sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) ... |
18. Configuring Hibernate with Borland App Server (BEs 5.2.1) forum.hibernate.orgHi, Hoping that someone out there has configured a BES app server to use hibernate and that they can share their 'recipe' with us. I'd like to bind a configured SessionFactory into the JNDI tree, preferably not programmatically - perhaps some sort of 'jmx-like service' similar to how you configure JBoss using the hibernate sar. I'm not too familiar with the ... |
19. Hibernate configuration in dev environment/app server forum.hibernate.orgHello, I have a configuration question. In my dev environment I use hibernate as a standalone directly used framework. When I test however hibernate is configured as an app server service and a SessionFactory has to be looked up via jndi. I end up changing HibernateUtil between appserver and dev to either read the configuration file or lookup via jndi. What ... |
20. Error in Sun App Server 8.1 with Hibernate 2.17c forum.hibernate.orgHi, I have developed a little applicattion with Struts 1.2.4 + Hibernate 2.1.7c and works well with Tomcat 5, but with Sun App Server 8.1 2005Q1, doesn`t work. it reads well the initilization file, but when it goes to run the first query, I obtain an error ClassNotFoundException in a class of cglib.jar, but doesn't say which class. The error is ... |
21. Problem initialising Hibernate on an app server forum.hibernate.orgHibernate version: Hibernate 3.0rc1 Hi, I am experiencing a problem when trying to initialise Hibernate from a class that is deployed on an application server (Sun One app server 7). My EAR contains a jar which contains my session bean, home & remote interfaces, rmi stubs and deployment descriptors. The EAR also contains the following third party jars... hibernate3.jar dom4j-1.4.jar jta.jar ... |
22. Using hibernate with an application server forum.hibernate.orgHi, As I understand it, hibernate caches all data. But if there are millions of records in the database, then at some point one server won't be able to handle all of that data in memory. So what to do? Use an application server like JBoss, to "share the cache"? I was told by someone that I couldn't do this with ... |
23. Sun Java System Application Server 8.2 redeploy Fails forum.hibernate.orgI am using Sun Java System Application Server 8.2 I'm using this application server with the latest version of hibernate (3.1.3). I've run into a problem when I go to redeploy my enterprise application. The file Hibernate.jar will not delete. The app server tries to force garbage collection but this does not help. I try to delete the file manually in ... |
24. hibernate 3.1 with sun java system application server 9 forum.hibernate.org |
25. Server Client Application with hibernate forum.hibernate.orgHibernate is for Object-Relational Mapping and persistence; the application architecture is your responsibility. EJB 3.0 is a distributed solution that uses a Hibernate-like framework for persistence (JBoss 4 uses Hibernate implementation). You could also use RMI with your persisted objects since they can also be POJOs and therefore serializable. I used RMI for a lightweight application, and now I am using ... |
26. deploying hibernate application to application server forum.hibernate.org |
27. How to get the static data on start of application server forum.hibernate.orgif you create your database from hibernate you can use |
28. Compatibility Hibernate 3.1 with App Servers for Java 1.4? forum.hibernate.orgHello, I would like to know if I can use the Hibernate 3.1 with Java 1.5, even if I'm using an App Server that only support Java 1.4. I know there are some ways to use annotations, for example, without using Java 1.5, but what I really want is the resource to use JDBC instead to use iBatis and Hibernate together. ... |
29. Hibernate3 and Websphere Application Server forum.hibernate.orgHello, I'm developing a web application with Hibernate3 and I'm trying to run it within Websphere Application Server 5.1. I have this error: [22/11/06 13:50:18:203 CET] 70a4d0 WebGroup E SRVE0026E: [Error de servlet]-[LinkageError while defining class: org.hibernate.Session Could not be defined due to: org/hibernate/Session (Unsupported major.minor version 48.0) This is often caused by having a class defined at multiple locations within ... |
30. J2EE 1.4 Application Server and Hibernate 3.2.x forum.hibernate.org |
31. How to use JNDI of Sun Java Application server 8.1? forum.hibernate.orgHi, I am using Java 1.5 for Web Application. I want to use JNDI configuration in my Hibernate Application. I am using Sun Java Application server to host my web application. I have done all configuration to use JNDi in hibernate but it throws SessionFactory could not bound exception. ths code snippest is as follows..please help to sort out that problem.. ... |
32. Open Source Application Server forum.hibernate.org |
33. Hibernate JAAS & Sun App Server forum.hibernate.orgHi, I am about to start writing a framework and I will be using hibernate with Sun App Server. The project requires the web app authenticates to a database (any/all) therefore I would like the authentication to go through Hibernate so that I only have to maintain one set of DB settings. Does any know how or has done this before, ... |
34. Issue with Hibernate on remote WebSphere App Server 6.1 forum.hibernate.orgNewbie Joined: Thu Oct 09, 2008 2:13 pm Posts: 1 Hi I have an issue with trying to run an application with Hibernate 3.2.5 with Spring 2.5. This works in my eclipse envirorment. On the remote system however it has stopped working. I say stopped working because before the latest build it was working fine. Now the change I have made ... |
35. how to add Hibernate support to a Rad7(IBM Application server) project? forums.oracle.com |